﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using BCCommon.OAEnums;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepLineConfig;

namespace BCDto.OA.WorkflowTemplate.WorkflowTemplateStep
{
	/// <summary>
	/// 工作流模板步骤
	/// </summary>
	public class WorkflowTemplateStepDto
	{
		/// <summary>
		/// 工作流模板步骤Id
		/// </summary>		
		public long WorkflowTemplateStepId { get; set; }
		/// <summary>
		/// 工作流模板Code
		/// </summary>		
		public string TemplateCode { get; set; }
		/// <summary>
		/// 工作流模板名称
		/// </summary>		
		public string TemplateName { get; set; }
		/// <summary>
		/// 步骤Code
		/// </summary>		
		public string Id { get; set; }
		/// <summary>
		/// 节点工具栏类型
		/// </summary>		
		public string Type { get; set; }
		/// <summary>
		/// 步骤名称
		/// </summary>		
		public string NodeName { get; set; }
		/// <summary>
		/// 步骤类型(开始、结束、节点、会签、条件、子流程）
		/// </summary>		
		public OAStepNodeType NodeType { get; set; }
		/// <summary>
		/// 任务步骤
		/// </summary>		
		public int Step { get; set; }
		/// <summary>
		/// 步骤节点样式
		/// </summary>		
		public string Style { get; set; }
		/// <summary>
		/// 坐标X
		/// </summary>		
		public double CoordinateX { get; set; }
		/// <summary>
		/// 坐标Y
		/// </summary>		
		public double CoordinateY { get; set; }
		/// <summary>
		/// 坐标
		/// </summary>		
		public List<double> Coordinate { get; set; } = new List<double>();

		/// <summary>
		/// 步骤线配置
		/// </summary>		
		public List<WorkflowTemplateStepLineConfigDto> Lines { get; set; } = new List<WorkflowTemplateStepLineConfigDto>();
		/// <summary>
		/// 步骤节点配置列表
		/// </summary>		
		public List<object> FormConfig { get; set; } = new List<object>();
		/// <summary>
		/// 创建时间
		/// </summary>		
		public DateTime CreateTime { get; set; }
		/// <summary>
		/// 更新时间
		/// </summary>		
		public DateTime? UpdateTime { get; set; }

	}
}

